onEvent('recipes', (event) => {
    event.recipes.custommachinery.custom_machine("custommachinery:sky_amplifier", 80)
        .requireItem('kubejs:paper_daytime')
        .requireTime([">=12000", "<<24000"])
        .runCommandOnEnd('/time set 6000', true)

    event.recipes.custommachinery.custom_machine("custommachinery:sky_amplifier", 80)
        .requireItem('kubejs:paper_night')
        .requireTime([">=2000", "<<11000"])
        .runCommandOnEnd('/time set 18000', true)

    event.recipes.custommachinery.custom_machine("custommachinery:sky_amplifier", 80)
        .requireItem('botania:teru_teru_bozu')
        .requireWeather("rain")
        .runCommandOnEnd('/weather clear', true)

    event.recipes.custommachinery.custom_machine("custommachinery:sky_amplifier", 80)
        .requireItem('botania:teru_teru_bozu').chance(0.1)
        .requireWeather("thunder")
        .runCommandOnEnd('/weather clear', true)

});